<%@include file="../View/header.jsp"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html xmlns:th="http://www.thymeleaf.org" lang="">
<!-- 最新 Bootstrap4 核心 CSS 文件 -->
<link rel="stylesheet" th:href="@{//cdn.staticfile.org/twitter-bootstrap/4.4.1/css/bootstrap.min.css}">
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script th:src="@{//cdn.staticfile.org/jquery/3.4.1/jquery.min.js}"></script>
<!-- bootstrap.bundle.min.js 用于弹窗、提示、下拉菜单，包含了 popper.min.js -->
<script th:src="@{//cdn.staticfile.org/popper.js/1.16.0/umd/popper.min.js}"></script>
<!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
<script th:src="@{//cdn.staticfile.org/twitter-bootstrap/4.4.1/js/bootstrap.min.js}"></script>
<!-- DaterangePicker -->
<link rel="stylesheet" type="text/css" media="all" th:href="@{/daterangepicker/daterangepicker.css}" />
<!-- BootStrapValidator -->
<link rel="stylesheet" th:href="@{/css/bootstrapValidator.css}">
<script type="text/javascript" th:src="@{/js/bootstrapValidator.js}"></script>
<script th:src="@{/js/functions.js}"></script>
<script type="text/javascript" th:src="@{/js/validate.js}"></script>
<script>
    // 判断是登录账号和密码是否为空
    function check(){
        var describe = $("#describe").val();
        if(describe==""){
            $("#message").text("陈述修改内容不能为空");
            return false;
        }
        return true;
    }
</script>
<div style="margin-left:25%;padding:1px 16px;height:1000px;">
    <div id="page-wrapper">
        <h2>申请修改仓位</h2>
        <form action="${pageContext.request.contextPath}/apply/addApply"
              method="post" onsubmit="return check()" class="form-horizontal">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><br />
            <input id="type" type="text" name="type" value="申请修改仓位" required hidden/>
            陈述修改内容：<input id="describe" type="text" name="describe" required/>
            <br /><br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <input type="submit" value="提交申请" class="btn btn-primary" />
        </form>
    </div>
</div>
</body>
</html>
<%@include file="../View/footer.jsp"%>